	<div class="column full fl">
		
		<div class="box themed_box">
		<h2 class="box-header"><?php echo $title; ?></h2>

		<div class="box-content">
        <?php echo $this->session->flashdata('message'); ?>
        <!--<form id="formtest" name="formtest" method="post" action="<?php echo site_url($form['action']); ?>">-->
            	<span class="grid width10 fl"><label class="form-label required"><?php echo $this->lang->line('date'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_date']; } ?></span>
				<div class="clear"></div>
                
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('type'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_type']; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('location'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_location']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('people'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_people']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('objective'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_objective']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('result'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_result']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('follow_up'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_follow_up']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('cust_name'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['customer_name']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                <!--
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('sector'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['sector_name']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('group'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['group_name']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('source'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['source_name']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('status'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['status_name']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                -->
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('pic'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['pic']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <!--
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('pos'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['pic_pos']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('pic').'2'; ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['pic2']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('pos'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['pic2_pos']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                -->
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('tlp'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['tlp']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('fax'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['fax']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                <!--
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('email'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['email']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('address'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['address']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('city'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['city']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('zipcode'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['zip_code']; } else { echo '-'; } ?></span>
				<div class="clear"></div>
                -->
                <span class="grid width10 fl"><label class="form-label"><?php echo $this->lang->line('desc'); ?></label></span>
				<span class="grid width90 fr"><?php if($table['value']<>"") { echo $table['value']['activity_desc']; } else { echo '-'; } ?></span>
				<div class="clear"></div>            
		
		</div>

		</div>	
			
	</div>

  
    